//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01A
TN_Widget.CreateTable([['Umphrey's McGee','Big Top Chautauqua','Bayfield, WI','Friday','6/21/2024','7:30 PM','6304852','Umphrey-s-McGee-6-21-2024'],['Nitty Gritty Dirt Band','Big Top Chautauqua','Bayfield, WI','Sunday','6/23/2024','7:30 PM','6217646','Nitty-Gritty-Dirt-Band-6-23-2024'],['Watchhouse','Big Top Chautauqua','Bayfield, WI','Saturday','6/29/2024','7:30 PM','6339919','Watchhouse-6-29-2024'],['Molly Tuttle & Golden Highway','Big Top Chautauqua','Bayfield, WI','Sunday','6/30/2024','7:30 PM','6266201','Molly-Tuttle---Golden-Highway-6-30-2024'],['Shakey Graves','Big Top Chautauqua','Bayfield, WI','Wednesday','7/3/2024','7:30 PM','6370365','Shakey-Graves-7-3-2024'],['Arrival From Sweden: The Music of Abba','Big Top Chautauqua','Bayfield, WI','Friday','7/12/2024','7:30 PM','6242245','Arrival-From-Sweden--The-Music-of-Abba-7-12-2024'],['Andrew Bird','Big Top Chautauqua','Bayfield, WI','Sunday','7/14/2024','7:30 PM','6269633','Andrew-Bird-7-14-2024'],['Lyle Lovett','Big Top Chautauqua','Bayfield, WI','Sunday','7/21/2024','7:30 PM','6233326','Lyle-Lovett-7-21-2024'],['JJ Grey & Mofro','Big Top Chautauqua','Bayfield, WI','Thursday','7/25/2024','7:30 PM','6304851','JJ-Grey---Mofro-7-25-2024'],['The Drifters, The Platters & Cornell Gunter's Coasters','Big Top Chautauqua','Bayfield, WI','Saturday','7/27/2024','7:30 PM','6269634','The-Drifters--The-Platters---Cornell-Gunter-s-Coasters-7-27-2024'],['Ricky Skaggs & Kentucky Thunder','Big Top Chautauqua','Bayfield, WI','Thursday','8/1/2024','7:30 PM','6304853','Ricky-Skaggs---Kentucky-Thunder-8-1-2024'],['Charlie Berens','Big Top Chautauqua','Bayfield, WI','Saturday','8/3/2024','7:30 PM','6350274','Charlie-Berens-8-3-2024'],['Gaelic Storm','Big Top Chautauqua','Bayfield, WI','Thursday','8/8/2024','7:30 PM','6242246','Gaelic-Storm-8-8-2024'],['Natalie MacMaster','Big Top Chautauqua','Bayfield, WI','Thursday','8/15/2024','7:30 PM','6368408','Natalie-MacMaster-8-15-2024'],['Graham Nash','Big Top Chautauqua','Bayfield, WI','Saturday','8/17/2024','7:30 PM','6269635','Graham-Nash-8-17-2024'],['Semisonic','Big Top Chautauqua','Bayfield, WI','Friday','8/30/2024','7:30 PM','6368432','Semisonic-8-30-2024'],['Michael Franti & Spearhead','Big Top Chautauqua','Bayfield, WI','Friday','9/6/2024','7:00 PM','6384646','Michael-Franti---Spearhead-9-6-2024'],['The Mavericks','Big Top Chautauqua','Bayfield, WI','Saturday','7/19/2070','TBD','4399215','The-Mavericks-7-19-2070']],'Big Top Chautauqua','http://www.ticketnetwork.com/ticket/Big-Top-Chautauqua-events.aspx');